#ifndef TRANSPORTVIEW_H
#define TRANSPORTVIEW_H

#include "rect.h"
#include "knob.h"
#include "view.h"
class Font;
class App;

class TransportView : public View {
public:
     TransportView(Font *pFont, Point start, App *pApp);
     void setStart(Point start);
     Rect rect() const;
     void paint(bool all=false);
     void mouseDown(Point p, int button);
     void mouseUp(Point p, int button);
     void mouseMove(Point p, Point dp);
     void mouseExit(Point p);

private:
     Point m_start;
     App *m_pApp;
     Knob m_tempoKnob;
     bool m_buttonDown;
     bool m_dragging;
};

#endif
